<!DOCTYPE html>
<html lang="zh">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>文字垂直对齐方式</title>
  <style>
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    div {
      border: 2px solid #f00;
      font-size: 40px;
    }

    img {
      width: 100px;
      height: 100px;
      /* middle bottom */
      vertical-align: middle;
      /* 解决底部留白问题 */
      /* display: block; */
    }
  </style>
</head>

<body>
  <div>
    <img src="../../素材/images/AI01.png" alt="">admin
  </div>
</body>

</html>